<include file="../header" />
<body class="J_scroll_fixed">
<script type="text/javascript">
    $(function() {

        $("button#sub").click(function () {
            if (confirm("确定要提交款项核对？")) {
                $("button#sub").hide();
//                $("form").submit();
            } else {
                return false;
            }
        });
    })
//    function sumbit_sure(){
//        var gnl=confirm("确定要提交出库?");
//        if(gnl==true){
//            document.getElementById('sub').disabled=true;
//            return true;
//        }else{
//            return false;
//        }
//    }




</script>

<script type="text/javascript"  src="__TMP__/assets/js/ueditor/ueditor.config.js"></script>
<script type="text/javascript"  src="__TMP__/assets/js/ueditor/ueditor.all.min.js"></script>
<div class="wrap jj">
    <div class="common-form">
        <form method="post" class="form-horizontal J_ajaxForm" action="{:U('specialOrder/end')}">
            <fieldset>
                <input type="hidden" value="{$specialOrder.special_order_id}" name="id" />
                单号：{$specialOrder.special_order_no}，<a style="font-weight: bold">{$specialProduct.name}</a>，<a style="color: #ed7667">{$specialOrder.number}</a> 件，单价：<a style="color: #ed7667">{$specialOrder.sale_price}</a>， 总计：<a style="color: #ed7667">{$specialOrder.total_price}</a>&nbsp;元
                <br/>
                科室：<a style="color: #45a1de">{$specialOrder.room}</a>，医生：<a style="color: #45a1de">{$specialOrder.doctor_name}</a>，患者姓名：<a style="color: #45a1de">{$specialOrder.patient_name}</a>，患者ID：<a style="color: #45a1de">{$specialOrder.patient_id}</a>
                <br/>
                渠道：<a>{$specialOrder.agent_name}</a> ，业务员：<a style="color: #45a1de">{$sales.admin_name}</a> ，支具师：<a style="color: #45a1de">{$specialOrder.prosthetist_name}</a>
                <br/>
                发票：<a style="color: #ed7667">{:getEnumString($defaultEnum, $specialOrder['need_invoice'])}</a>
                <if condition="$specialOrder['need_invoice'] eq '1'">
                    ，公司名称 : <a style="color: #1cc385">{$specialOrder.invoice_name}</a>， 税号 : <a style="color: #1cc385">{$specialOrder.invoice_number}</a>
                </if>
                <if condition="$specialOrder['invoice_detail'] neq ''">
                    ，明细 : <a style="color: #1cc385">{$specialOrder.invoice_detail}</a>
                </if>

                <br>备注：<a style="color: #ed7667">{$specialOrder.note}</a>
                <br>
                <br/>
                付款情况： <a style="font-weight: bold; color: #ffa451">【{$specialOrder.payment_type}】</a>
                <if condition="$specialOrder['payment_type'] eq '预付'">
                    <a style="font-weight: bold; color: #ed7667">￥{$specialOrder.prepayment}</a>
                </if>
                <br>

            </fieldset>
            <div class="form-actions">
                <button id="sub" type="submit" class="btn btn-primary btn_submit">核对款项</button>
                <a class="btn" href="__URL__">返回</a>
            </div>
        </form>
    </div>
</div>
<script src="__ROOT__/statics/js/common.js"></script>
</body>
</html>